package com.zx.flow.api.execute.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.RequiredMode;
import lombok.Data;

@Data
public class BasePageForm extends BaseForm {

    @Schema(description = "分页查询，当前页，默认1", example = "1", requiredMode = RequiredMode.NOT_REQUIRED)
    private int pageNum = 1;

    @Schema(description = "分页查询，每页数量，默认10", example = "10", requiredMode = RequiredMode.NOT_REQUIRED)
    private int pageSize = 10;
}